﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Views_order_regedit : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //checkValidate();
   
    }
    public void checkValidate(){
        if (cartBus.carts.listcart.Count>0)
        {
            txtEmailcheckout.Text = "hix";

        }
        else Response.Redirect("~//default.aspx");
    }

    protected void signin_click(object sender, EventArgs e)
    {
        //CustomerBus cusBus = new CustomerBus();
        //string email = txtEmailcheckout.Text;
        //string pass = txtPasswordcheckout.Text;

        //if (cusBus.CheckLogin(email, pass))
        //{
        //    Response.Redirect("~//order.aspx?step=2");
        //}
        //else
        //{
        //    Session["username"] = "";
        //    Response.Write("false");
        //}

        //Response.Redirect("~//order.aspx?step=2");
    }
}